home *** CD-ROM | disk | FTP | other *** search
- on REDLEAN
- global GRIDH, GRIDY, GRIDV, TB, TBB
- set TB to 0
- repeat while TB = 0
- set TBB to random(139) + 1
- if (getAt(GRIDV, TBB) = 3) and (getAt(GRIDV, TBB - 1) = 1) then
- set the locH of sprite 29 to getAt(GRIDH, TBB)
- set the locV of sprite 29 to getAt(GRIDY, TBB)
- set the castNum of sprite 29 to 227
- updateStage()
- set TB to 1
- end if
- end repeat
- REMOVESPRITE()
- end
-